﻿using Zhp.Entity.Sys;
using Zhp.Model.Sys;

namespace Zhp.IService.Sys
{
    public interface ISysRoleService
    {
        Task<List<RoleModel>> GetRole(RoleQuery query);
        Task<bool> Create(RoleCreate user);
        Task<bool> Update(RoleCreate update);
        Task<bool> Delete(string id);
        Task<SysRole> QueryByName(string name);
    }
}
